package com.xyy.saas.payment.dao.mapper;

import com.xyy.saas.payment.dao.model.ChannelSwitchInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChannelSwitchInfoMapper {

    int batchInsert(@Param("list") List<ChannelSwitchInfo> list);

    int insert(ChannelSwitchInfo entity);

    List<ChannelSwitchInfo> queryByParam(ChannelSwitchInfo queryParam);

    ChannelSwitchInfo queryById(Long id);

    int deleteById(String id);

}
